package com.goldcn.order.dao;

import com.goldcn.order.dto.SupplierSettlementConditionDto;
import com.goldcn.order.model.OrderSupplierSettlement;

import java.util.List;
import java.util.Map;

public interface OrderSupplierSettlementMapper {
    int deleteByPrimaryKey(Long id);

    int insert(OrderSupplierSettlement record);

    int insertSelective(OrderSupplierSettlement record);

    OrderSupplierSettlement selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrderSupplierSettlement record);

    int updateByPrimaryKey(OrderSupplierSettlement record);

    List<OrderSupplierSettlement> selectByBeginAndEndTime(Map<String,Object> map);

    int insertBatch(List<OrderSupplierSettlement> params);

    List<OrderSupplierSettlement> selectByCondition(SupplierSettlementConditionDto supplierSettlementConditionDto);

    Map<String,Object> supplierSettlementTotal(SupplierSettlementConditionDto supplierSettlementConditionDto);

    int updateState(Map params);

}